#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTreeView>
#include <QStandardItem>
#include <QItemSelectionModel>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    void initMainWindow();
private slots:
    void on_action_Save_triggered();
    void showTreeContextMenu(const QPoint& point);
    void on_actAddser_triggered();
    void on_actDelser_triggered();
    void on_btnServers_pressed();
    void on_btnDev_pressed();
    void on_otherThanDevButton();

private:
    Ui::MainWindow *ui;

    QMenu *m_ltreeMenu;
    QAction *m_actAddSer;
    QAction *m_actDelSer;


};

#endif // MAINWINDOW_H
